﻿		</div>
		<div ng-controller='MenuController' class="col-sm-4">
			<div class="block" ng-repeat="cat in menudata">
				<div class="blocktitle" ng-bind="cat.title"></div>
				<ul>
				  <li ng-repeat="post in cat.posts">
					<a href="{{post.permalink}}"><span ng-bind="post.post_title"></span></a>
				  </li>
				  
				</ul>
			</div>
			
			<div style="margin-top:20px;">						
				<a title="follow us on facebook" target="blank" href="https://www.facebook.com/tuvanhocxam"><img alt="follow us on facebook"  style="float:left;" src="<?php echo get_template_directory_uri()?>/images/day-xam-hoc-xam-facebook.png" /></a>
				<a title="follow us on google plus"  target="blank" href="https://plus.google.com/114666187181394028159/posts"><img alt="follow us on google plus"  style="margin-top:6px;margin-left:10px;width:54px;" src="<?php echo get_template_directory_uri()?>/images/day-xam-hoc-xam-googleplus.png" /></a>
			</div>
			<div style="margin-top:20px;">
				<a href="https://www.facebook.com/tuvanhocxam" target="blank"  title="Tư vấn xăm thẩm mỹ">
				<img alt="Tư vấn xăm thẩm mỹ" src="<?php echo get_template_directory_uri()?>/images/tuvanxam_left.png" class="thumbnail" />
				</a>
			</div>
			<div style="margin-top:20px;">
				<!-- Histats.com  START  (standard)-->
<script type="text/javascript">document.write(unescape("%3Cscript src=%27http://s10.histats.com/js15.js%27 type=%27text/javascript%27%3E%3C/script%3E"));</script>
<a href="http://www.histats.com" target="_blank" title="free geoip" ><script  type="text/javascript" >
try {Histats.start(1,2836401,4,16,150,30,"00011111");
Histats.track_hits();} catch(err){};
</script></a>
<noscript><a href="http://www.histats.com" target="_blank"><img  src="http://sstatic1.histats.com/0.gif?2836401&101" alt="free geoip" border="0"></a></noscript>
<!-- Histats.com  END  -->
			</div>
		</div>
	</div>
</div><!-- /.container -->		

<!-- =============  header ==================== -->
	<header id="header">
	  <div class="container header">
		<div class="blog-header">
		<div class="row">
			<div class="col-sm-8">		
					<a href="<?php echo home_url('/')?>" ><div id="logo"></div></a>
			</div>
			<div class="col-sm-4">		
					<div id="contactInfo">
					<div id="address">
						<div id="address_icon"></div>
						637 Đường 3/2 , F6, Q10, Tp.HCM	
					</div>
				   <div id="phone"></div>
						<div id="phone_icon"></div>
						094 7708 881			   
					</div>
			</div>
			</div>
		  </div>
	  </div>
	  <div class="navbar navbar-inverse center-block topnav" role="navigation">	
	      <div class="container">
	        <div class="navbar-header">
	          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
	            <span class="sr-only">Toggle navigation</span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	          </button>          
	        </div>
	        <div class="collapse navbar-collapse mainmenubody">
			<div id="mainmenuleft">	</div>
	          <ul class="nav navbar-nav" >
	            <li class="menuhome"><a href="<?php echo home_url('/')?>">Trang chủ</a></li>            
	            <li class="menuday-xam-2"><a href="<?php echo home_url('/category/day-xam-2/')?>">Dạy xăm</a></li>
				<li class="menucham-soc-da"><a href="<?php echo home_url('/category/cham-soc-da/')?>">Dạy chăm sóc da</a></li>
	            <li class="menudich-vu"><a href="<?php echo home_url('/category/dich-vu/')?>">Dịch vụ</a></li>
				<li class="menuvideo"><a href="<?php echo home_url('/category/video/')?>">Video</a></li>
	            <li class="menudung-cu-xam"><a href="<?php echo home_url('/category/dung-cu-xam/')?>">Dụng cụ xăm</a></li>
				<li class="menucontact"><a href="<?php echo home_url('/contact/')?>">Liên hệ</a></li>
				
	          </ul>
			  <div id="mainmenuright">	</div>
	        </div><!--/.nav-collapse -->
	      </div>
    </div>
  </header>
  
  <!-- =============  footer ==================== -->
  
	<footer class="footer">
		  <div class="container">

			© 2013 <b>Trung tâm đào tạo HUY THẢO</b><br>
					Địa Chỉ: 637 Đường 3/2 , F6, Q10, Tp.HCM  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      Điện Thoại: 094 7708 881   &nbsp;&nbsp;&nbsp;&nbsp;    Email:<a href="mailto:daotaohuythao@gmail.com">daotaohuythao@gmail.com</a>
			
			
		  </div>
		</div>
	</footer>
	
<?php wp_footer(); ?>



		<div class="overlay overlay-contentpush">
			<div id="likecontent">
			Do bạn click chuột phải quá nhiều. <br />
			Nên hãy nhấn "thích" (like) hoặc "chia sẽ" (share) để xem tiếp nội dung bạn nhé! <br /> <br />
			<span class="fb-like" data-href="<?php echo 'http://'.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] ?>" data-layout="button" data-action="like" data-show-faces="true" data-share="false"></span>
			<span id="share_button" style='position: relative;top: 3px;cursor:pointer;z-index:14;margin-left: 0px;'>
	                                    <img src='<?php echo get_template_directory_uri()?>/images/sharebt.png' alt='share'/>								 		
	                                </span>			
			
			</div>
		</div>
		
		
		<script>
		
		
		


		var isLike=0;
		$( document ).ready(function() {
			setTimeout(function(){gapi.plusone.render("gplus");}, 3000);
			
			$('#share_button').on('click', function(e){
				e.preventDefault();
				FB.ui(
				{
					method: 'feed',
					name: 'Đào tạo thẩm mỹ Huy Thảo',
					link: '<?php echo 'http://'.$_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"] ?>',
					<?php 
						$imgid=get_post_thumbnail_id(get_the_ID());
			    		$imgsrc=wp_get_attachment_image_src($imgid,'thumb');
			    	?>     
					picture: '<?php echo $imgsrc[0]?>',
					caption: '<?php the_title()?>',
					description: '',
					message: ''
				}, function(response){
			        if (response === null || response==undefined) {
			        	ga('send', 'event', 'copycontent', 'errorshare');
			            alert('Bạn hãy chia sẽ để có thể đọc bài viết này.');
			        } else {
						
			        	isLike=1;
			        	ga('send', 'event', 'copycontent', 'shared');
			        	location.reload();
			        }
			    });
			});
		});
		</script>

		

</body>
</html>